package com.tyk.bookstore.back.logistics.model.result;

import com.tyk.bookstore.back.common.core.model.result.ResultEnum;


/**
 * @author tyk
 * @description 运单异常枚举
 */
public enum WaybillResultEnum implements ResultEnum {

    WAYBILL_NOT_FOUND(3_08_02_01, "运单不存在"),
    STATE_NOT_SUPPORT(3_08_02_03, "当前状态禁止此项操作");

    private final Integer code;
    private final String msg;

    WaybillResultEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public Integer getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }
}
